// src/config/index.js
require('dotenv').config();

module.exports = {
  port: process.env.PORT || 3000,
  mongodbUri: process.env.MONGODB_URI || 'mongodb://localhost:27017/maiya_im',
  jwtSecret: process.env.JWT_SECRET || 'your_jwt_secret',
  corsOrigin: process.env.CORS_ORIGIN || '*',
  redisHost: process.env.REDIS_HOST || 'localhost'
};